import React from "react";
import { render } from "react-dom";
import { debounce } from "lodash";
import Test3 from "./com/test3";

console.log(debounce, "debounce");
const App = (
  <div>
    sssss111
    <img src={require("@/img/meituan.png")} alt="" />
    <Test3 />
  </div>
);

const dec = (fn) => {
  fn.prototype.aaa = 132;
};

import(/* webpackChunkName: "my-chunk-name" */ "./com/test").then((res) => {
  console.log(res, "resssssss");
});
import(/* webpackChunkName: "my-chunk-name2222" */ "./com/test2").then(
  (res) => {
    console.log(res, "resssssss");
  }
);

// console.log1111("1321");

@dec
class Test {
  static a = 1;
}
const test = new Test();
console.log(test.aaa, "test.aaa");

render(App, document.querySelector("#app"));
